/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cms.sessionbean;

import dto.Profile;
import dto.User;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author TauPo
 */
@Remote
public interface UserPortfoiloRemote {
   public boolean saveUser(User usrDTO);
   public boolean deleteUser(String userName);
   public User    getUser(String userName);
   public boolean updateUser(User usrDTO);
   public List<User> getAllUsers(String role);
   public List<User> getAllUsers();
   public Profile getUserProfile(String userName);
   public boolean updateUserProfile(Profile userProfile);
   public boolean userLogin(String userName,String password,String role);
  }
